package com.mycom.service;

import com.mycom.pojo.Employee;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;

@Transactional
public interface EmployeeService {
    /**
     * 根据身份证号码查询
     * @param idCardNumber
     * @return
     */
    public Employee findByIdCard(String idCardNumber);

    public List<Employee> findAllByDepartmentId(Integer departmentId);
}
